/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package beans;

import entity.Tweet;
import java.util.List;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ManagedProperty;
import javax.faces.bean.RequestScoped;

/**
 *
 * @author Axel
 */
@ManagedBean(name="ProfileBean")
@RequestScoped
public class ProfileBean {

    @ManagedProperty(value="#{userTempBean}") // #{user} is the managed bean name
    private sessionUserTempBean userTempBean;

    /** Creates a new instance of ProfileBean */
    public ProfileBean() {

    }

    /**
     * @return the userBean
     */
    public sessionUserTempBean getUserTempBean() {
        return userTempBean;
    }

    /**
     * @param userBean the userBean to set
     */
    public void setUserTempBean(sessionUserTempBean userBean) {
        this.userTempBean = userBean;
    }
}

